package com.jiejie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 辰广
 * @since 2022-10-05
 */
public class Likes implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 点赞id
     */
    @TableId(value = "likes_id", type = IdType.AUTO)
    private Integer likesId;

    /**
     * 用户id
     */
    private Integer customerId;

    /**
     * 评论id
     */
    private Integer commentsId;

    /**
     * 锁
     */
    private Integer likesVersion;

    /**
     * 点赞状态
     */
    private Integer likesStatus;

    private LocalDateTime likesCreateTime;

    private LocalDateTime likesUpdateTime;

    private String orther1;

    private String orther2;

    public Integer getLikesId() {
        return likesId;
    }

    public void setLikesId(Integer likesId) {
        this.likesId = likesId;
    }
    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }
    public Integer getCommentsId() {
        return commentsId;
    }

    public void setCommentsId(Integer commentsId) {
        this.commentsId = commentsId;
    }
    public Integer getLikesVersion() {
        return likesVersion;
    }

    public void setLikesVersion(Integer likesVersion) {
        this.likesVersion = likesVersion;
    }
    public Integer getLikesStatus() {
        return likesStatus;
    }

    public void setLikesStatus(Integer likesStatus) {
        this.likesStatus = likesStatus;
    }
    public LocalDateTime getLikesCreateTime() {
        return likesCreateTime;
    }

    public void setLikesCreateTime(LocalDateTime likesCreateTime) {
        this.likesCreateTime = likesCreateTime;
    }
    public LocalDateTime getLikesUpdateTime() {
        return likesUpdateTime;
    }

    public void setLikesUpdateTime(LocalDateTime likesUpdateTime) {
        this.likesUpdateTime = likesUpdateTime;
    }
    public String getOrther1() {
        return orther1;
    }

    public void setOrther1(String orther1) {
        this.orther1 = orther1;
    }
    public String getOrther2() {
        return orther2;
    }

    public void setOrther2(String orther2) {
        this.orther2 = orther2;
    }

    @Override
    public String toString() {
        return "Likes{" +
            "likesId=" + likesId +
            ", customerId=" + customerId +
            ", commentsId=" + commentsId +
            ", likesVersion=" + likesVersion +
            ", likesStatus=" + likesStatus +
            ", likesCreateTime=" + likesCreateTime +
            ", likesUpdateTime=" + likesUpdateTime +
            ", orther1=" + orther1 +
            ", orther2=" + orther2 +
        "}";
    }
}
